package com.rc.saas.tenant.service.enterprise;

import com.github.pagehelper.PageInfo;
import com.rc.saas.tenant.base.BaseService;
import com.rc.saas.tenant.mapper.enterprise.RcEnterpriseGainGradeSettingMapper;
import com.rc.saas.tenant.model.enterprise.RcEnterpriseGainGradeSetting;
import com.rc.saas.tenant.model.enterprise.RcEnterpriseGainGradeSettingExample;
import com.rc.saas.tenant.model.enterprise.RcEnterpriseGainSetting;

import java.math.BigDecimal;
import java.util.List;

public interface RcEnterpriseGainGradeSettingService extends BaseService<Long, RcEnterpriseGainGradeSetting, RcEnterpriseGainGradeSettingExample, RcEnterpriseGainGradeSettingMapper> {
    void batchInsert(List<RcEnterpriseGainGradeSetting> list);

    void batchUpdate(List<RcEnterpriseGainGradeSetting> list);

    void batchDelete(List<Long> list);

    RcEnterpriseGainGradeSetting selectGradeBetweenInterval(Long gainId, BigDecimal money);

    PageInfo<RcEnterpriseGainGradeSetting> listPageEnterpriseGainGrade(Long gainId, Integer pageNo, Integer pageSize);

    List<RcEnterpriseGainGradeSetting> listGradeByGain(Long gainId);


}
